<h1>AbetDepartments List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Dep code</th>
      <th>Dep name</th>
      <th>Dep phone</th>
      <th>Abet instructor</th>
      <th>Abet college</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($AbetDepartments as $AbetDepartment): ?>
    <tr>
      <td><a href="<?php echo url_for('content/showDepartment?id='.$AbetDepartment->getId()) ?>"><?php echo $AbetDepartment->getId() ?></a></td>
      <td><?php echo $AbetDepartment->getDepCode() ?></td>
      <td><?php echo $AbetDepartment->getDepName() ?></td>
      <td><?php echo $AbetDepartment->getDepPhone() ?></td>
      <td><?php echo $AbetDepartment->getAbetInstructorId() ?></td>
      <td><?php echo $AbetDepartment->getAbetCollegeId() ?></td>
      <td><?php echo $AbetDepartment->getCreatedAt() ?></td>
      <td><?php echo $AbetDepartment->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('content/newDepartment') ?>">New</a>
